package com.naiterui.ehp.bs.esign.api.bjca.vo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.util.Date;

/**
 * @author guoyongxiang
 * @date 2019/11/25 20:24
 * @since 1.0.0
 */
@Data
public class YwxSignParamVO {

    /**
     * 处方ID
     */
    private String urId;

    /**
     * 医网信医师唯一标识
     */
    private String openId;

    private String patientName;

    private String patientAge;

    private String patientSex;

    private String patientCard;

    private String patientCardType;

    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date recipeTime;

    private String pdfBase64;

    private String moveType;

    private String keyword;

    private Float x;

    private Float y;

    private Integer locationPage;

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("urId", urId)
                .append("openId", openId)
                .append("patientName", patientName)
                .append("patientAge", patientAge)
                .append("patientSex", patientSex)
                .append("patientCard", patientCard)
                .append("patientCardType", patientCardType)
                .append("recipeTime", recipeTime)
                .append("x", x)
                .append("y", y)
                .append("locationPage", locationPage)
                .toString();
    }
}
